package com.lingyu.jsjx.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingyu.jsjx.domain.TeacherTenet;

/**
 * 教学心旨Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
public interface TeacherTenetMapper extends BaseMapper<TeacherTenet>
{
    /**
     * 查询教学心旨
     * 
     * @param tenetId 教学心旨主键
     * @return 教学心旨
     */
    public TeacherTenet selectTeacherTenetByTenetId(Long tenetId);

    /**
     * 查询教学心旨列表
     * 
     * @param teacherTenet 教学心旨
     * @return 教学心旨集合
     */
    public List<TeacherTenet> selectTeacherTenetList(TeacherTenet teacherTenet);

    /**
     * 新增教学心旨
     * 
     * @param teacherTenet 教学心旨
     * @return 结果
     */
    public int insertTeacherTenet(TeacherTenet teacherTenet);

    /**
     * 修改教学心旨
     * 
     * @param teacherTenet 教学心旨
     * @return 结果
     */
    public int updateTeacherTenet(TeacherTenet teacherTenet);

    /**
     * 删除教学心旨
     * 
     * @param tenetId 教学心旨主键
     * @return 结果
     */
    public int deleteTeacherTenetByTenetId(Long tenetId);

    /**
     * 批量删除教学心旨
     * 
     * @param tenetIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeacherTenetByTenetIds(Long[] tenetIds);
}
